package cn.frh.org.mapper;

import cn.frh.basic.mapper.BaseMapper;
import cn.frh.org.domain.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    void removeEmployeeRoleByEmployee(Long id);

    void saveEmployeeRole(Employee employee);

    Employee lodaByLogininfoId(Long logininfoId);

    Employee loadByShopId(Long id);

    List<Employee> findByShopId(Long shopId);
}
